/**
 * Auto gen via dbpojo-gen.
 */
package com.us.usws.service.ro.impl;

import java.util.List;

import com.us.usws.dao.UserAttrDAO;
import com.us.usws.model.domain.system.UserAttr;
import com.us.usws.service.ro.UserAttrROService;

/**
 * Service RO impl class
 * @author robot
 */
public class UserAttrROServiceImpl implements UserAttrROService {

	/**
	 * DAO instance
	 */
	private UserAttrDAO dao = new UserAttrDAO();

	/**
	 * Get Count.
	 */
	@Override
	public int getTotalCount() {
		return dao.getTotalCount();
	}

	/**
	 * Get all list.
	 */
	@Override
	public List<UserAttr> getAllUserAttrs() {
		return dao.getAllUserAttrs();
	}

	/**
	 * Get all list by pagination.
	 */
	@Override
	public List<UserAttr> getUserAttrs(int start, int end) {
		return dao.getUserAttrs(start, end);
	}

	/**
	 * Get UserAttr by primary key.
	 */
	@Override
	public UserAttr getUserAttr(String uid) {
		UserAttr u = dao.getUserAttr(uid);
		return u;
	}

}